<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript" src="js3.js"></script>
<script type="text/javascript">

module1.m1();
var module1 = (function (mod) {
	
	mod.m3 = function () {
		alert("m3");
	}

	return mod;

})(module1);

module1.m2();
module1.m3();



</script>

</body>
</html>